package com.rss.provider.dao;

import java.util.Date;
import java.util.List;

import com.rss.provider.hibernate.entity.SubscriberEntity;
import com.rss.provider.hibernate.entity.UpdateEntity;

public interface RssDao {

	public String addSubscriber(SubscriberEntity subscriberEntity);

	public String removeSubscriber(SubscriberEntity unsubscriberEntity);

	public List<SubscriberEntity> getAllSubscribers(String subscribedTo);

	public String saveUpdate(UpdateEntity updateEntity);

	public List<UpdateEntity> getUpdates(Date fromDate);

}
